#include "junix.h"

char *program_name;

void Usage(int status)
{
	if(status)
		fprintf(stderr,"Try %s --help for more infomation.\n",program_name);
	else
	{
		fprintf(stdout,"\
Usage: %s [OPTION]... SOURCE DEST\n\
or:  %s [OPTION]... SOURCE... DIRECTORY\n\
or:  %s [OPTION]... --target-directory=DIRECTORY SOURCE...\n",
program_name,program_name,program_name
);
	}

	exit(status);
}

int main(int argc, char **argv)
{
	program_name=argv[0];
	Usage(0);
	return 0;
}

